import hyrequest from '../service/index';

export function getTopMv(offset, limit = 10) {
  return hyrequest.get('/top/mv', {
    offset,
    limit
  })
}
/**
 * 获取mv地址
 * @param {*} id 
 */
export function getMvURL(id) {
  return hyrequest.get('/mv/url',{
    id
  })
}
/**
 * 
 * 获取 mv 数据
 * @param {*} id 
 */
export function getmvdetail(mvid) {
  return hyrequest.get('/mv/detail',{
    mvid
  })
}
/**
 * 相关视频
 * @param {*} id 
 */
export function getrelatedallvideo(id) {
  return hyrequest.get('/related/allvideo',{
    id
  })
}